﻿using AutoMapper;
using RestApp.UI.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RestApp.UI.Models
{
	public class Role : IMvcView<RestApp.BusinessLogic.Role>
	{

		public int Id { get; set; }
		public string Name { get; set; }

		public BusinessLogic.Role ToBusinessEntity()
		{
			return Mapper.Map<BusinessLogic.Role>(this);
		}
	}
}